//
// Created by Administrator on 2020/7/19.
//
#include <iostream>
#include <vector>

int main() {

    using std::vector;
    using std::cout;
    using std::endl;

    vector<int> vi(10);

    for (int i = 0; i < 10; ++i) {
        vi.at(i) = i;
    }


    for (int j : vi) {
        cout << j << endl;
    }

    return 0;
}
